package com.water.bs.mapper;

import com.water.bs.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface RankMapper {

    List<User> userRank();  //捐赠榜前十的用户

    List<Map<String,Object>> changeRank();  //交换榜前十
}
